/* 我的足迹 */
.page-uc-collection {
  .footprint-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    background: #f8f8f8;
    padding: 0 20px;

    .head-tit {
      font-size: 14px;
      color: #333;
      font-weight: bold;
    }

    .batch-btn {
      font-size: 12px;
      color: #666;

      &:hover {
        color: #e1251b;
        cursor: pointer;
      }
    }

    .action-btn-box {
      display: flex;
      align-items: center;
      color: #666;
      cursor: pointer;

      .batch-box {
        .check {
          &:hover {
            .checkbox {
              &::before {
                border-color: #e1251b;
              }
            }

            color: #e1251b;
          }
        }

        .delete-collection {
          &:hover {
            color: #e1251b;
          }

          padding: 0 10px;
        }
      }

      .cancel-btn {
        &:hover {
          color: #e1251b;
        }
      }
    }
  }

  .time {
    font-size: 20px;
    margin-top: 14px;
    font-weight: 600;
  }

  .goods-list {
    .list-con {
      .item {
        display: inline-block;
        width: 244px;
        height: auto;
        border: 1px solid #eee;
        box-sizing: border-box;
        margin-right: 16px;
        margin-top: 12px;

        &:nth-child(4n) {
          margin-right: 0;
        }

        .goods-img {
          width: 242px;
          height: 242px;
          line-height: 242px;
          margin: 0;
        }

        .goods-msg {
          padding-bottom: 20px;
        }
      }

      .item.batch-edit {
        &:hover {
          opacity: 1;
          box-shadow: none;
          border-color: #e1251b;
        }
      }

      .item.checked {
        border-color: #e1251b;

        .item-mask {
          .icon {
            background: #e1251b;
          }
        }
      }
    }
  }

  .goods-action {
    text-align: center;
    line-height: 35px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;

    .action-a {
      color: #666;
      text-align: center;
      width: 50%;

      .icon {
        display: inline-block;
        vertical-align: top;
        background: url(@/assets/images/icons.png) no-repeat;
        margin-right: 5px;
      }

      &:hover {
        color: #e1251b;
      }
    }

    .action-a.a1 {
      border-right: 1px solid #eee;

      .icon {
        width: 17px;
        height: 15px;
        margin-top: 10px;
        background-position: 0 -38px;
      }

      &:hover {
        .icon {
          background-position: -22px -38px;
        }
      }
    }

    .action-a.a2 {
      .icon {
        width: 14px;
        height: 14px;
        margin-top: 10px;
        background-position: 0 -415px;
      }

      &:hover {
        .icon {
          background-position: -19px -415px;
        }
      }
    }
  }

  .item-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: none;

    .icon {
      position: absolute;
      right: 0;
      top: 0;
      width: 30px;
      height: 30px;
      background: rgba(0, 0, 0, 0.1);

      &::before {
        position: absolute;
        top: 9px;
        left: 7px;
        display: block;
        width: 16px;
        height: 12px;
        content: " ";
        background: url(@/assets/images/icons.png) no-repeat 0 -746px;
      }
    }
  }

  .batch-edit {
    .item-mask {
      display: block;
    }
  }
}

/* 页码 */
.user-center .uc-collection .pages {
  margin-top: 20px;
  margin-right: 10px;
}
